# This is test15.py


def count_frequency(nums):
    freq = {}
    for i in nums:
        if i not in freq:
            freq[i] = 1
        else:
            freq[i] += 1
    return freq